#include <stdio.h>
void Temperatures(double degree_fahrenheit);
int main(void)
{
    double degree_fahrenheit;
    int n;

    printf("Enter the degree fahrenheit: ");
    n = scanf("%lf", &degree_fahrenheit);
    while (n == 1)
    {
        Temperatures(degree_fahrenheit);
        printf("Enter the degree fahrenheit: ");
        n = scanf("%lf", &degree_fahrenheit);
    }

    return 0;
}

void Temperatures(double degree_fahrenheit)
{
    const double f_c = 32.0;
    const double c_k = 273.16;
    double degree_kelvin, degree_centigrade;

    degree_centigrade = 5.0 / 9.0 * (degree_fahrenheit - f_c);
    degree_kelvin = degree_centigrade + c_k;
    printf("%.2lf 华氏温度 %.2lf 摄氏温度 %.2lf 开氏温度\n", degree_fahrenheit, degree_centigrade, degree_kelvin);
}